package com.shop.controller;

import com.shop.utils.UUID;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/api")
public class API_Controller {


    @PostMapping("/upload")
    public String uploadAPIController(HttpServletResponse response){

        return (String) UUID.createCheckUUID();
    }
}
